\hypertarget{class_q_custom_plot}{}\section{Q\+Custom\+Plot Class Reference}
\label{class_q_custom_plot}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}}


The central class of the library. This is the Q\+Widget which displays the plot and interacts with the user.  


Inheritance diagram for Q\+Custom\+Plot\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_q_custom_plot}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode}} \{ \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}{lim\+Below}}, 
\mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}}
 \}
\item 
enum \mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}{Refresh\+Priority}} \{ \mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59}{rp\+Immediate}}, 
\mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798}{rp\+Queued}}, 
\mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332}{rp\+Hint}}
 \}
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}{mouse\+Double\+Click}} (Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}{mouse\+Press}} (Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}{mouse\+Move}} (Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}{mouse\+Release}} (Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}{mouse\+Wheel}} (Q\+Wheel\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click}} (\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click}} (\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}{item\+Click}} (\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}{item\+Double\+Click}} (\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}{axis\+Click}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$axis, \mbox{\hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part}} part, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}{axis\+Double\+Click}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$axis, \mbox{\hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part}} part, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}{legend\+Click}} (\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}, \mbox{\hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a0250f835c044521df1619b132288bca7}{legend\+Double\+Click}} (\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}, \mbox{\hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, Q\+Mouse\+Event $\ast$event)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{title\+Click}} (Q\+Mouse\+Event $\ast$event, \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} $\ast$title)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{title\+Double\+Click}} (Q\+Mouse\+Event $\ast$event, \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} $\ast$title)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User}} ()
\item 
void \mbox{\hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot}} ()
\item 
void \mbox{\hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot}} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}{Q\+Custom\+Plot}} (Q\+Widget $\ast$parent=0)
\item 
Q\+Rect \mbox{\hyperlink{class_q_custom_plot_a19842409b18f556b256d05e97fffc670}{viewport}} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a5b9bbc838cb856e31b39c050fad49f9a}\label{class_q_custom_plot_a5b9bbc838cb856e31b39c050fad49f9a}} 
Q\+Pixmap {\bfseries background} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_aac96f3a0f5070228ed13602976886b80}\label{class_q_custom_plot_aac96f3a0f5070228ed13602976886b80}} 
bool {\bfseries background\+Scaled} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_af8f1ebfdbf48d7c49f95136475d55b14}\label{class_q_custom_plot_af8f1ebfdbf48d7c49f95136475d55b14}} 
Qt\+::\+Aspect\+Ratio\+Mode {\bfseries background\+Scaled\+Mode} () const
\item 
\mbox{\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_af1a1f1f571237deb7c2bd34a5e9f018f}{plot\+Layout}} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a631762eb183aceecee73d30e108641ee}\label{class_q_custom_plot_a631762eb183aceecee73d30e108641ee}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries antialiased\+Elements} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a75571bc5b2167e83def132fc993091b3}\label{class_q_custom_plot_a75571bc5b2167e83def132fc993091b3}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries not\+Antialiased\+Elements} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac4b87de13eaceadc8db5a66654197689}\label{class_q_custom_plot_ac4b87de13eaceadc8db5a66654197689}} 
bool {\bfseries auto\+Add\+Plottable\+To\+Legend} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a2c78c5fd2943c148ab76652801d3f2dc}\label{class_q_custom_plot_a2c78c5fd2943c148ab76652801d3f2dc}} 
const Q\+C\+P\+::\+Interactions {\bfseries interactions} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a5441d11013afeaf4b8f2ea06e8624a25}\label{class_q_custom_plot_a5441d11013afeaf4b8f2ea06e8624a25}} 
int {\bfseries selection\+Tolerance} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_aca3f01f903fb250a3dd27104d92830be}\label{class_q_custom_plot_aca3f01f903fb250a3dd27104d92830be}} 
bool {\bfseries no\+Antialiasing\+On\+Drag} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac724f4075822f74f7b676a790095b877}\label{class_q_custom_plot_ac724f4075822f74f7b676a790095b877}} 
Q\+C\+P\+::\+Plotting\+Hints {\bfseries plotting\+Hints} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a28182402ed11609c9a429f0788162d18}\label{class_q_custom_plot_a28182402ed11609c9a429f0788162d18}} 
Qt\+::\+Keyboard\+Modifier {\bfseries multi\+Select\+Modifier} () const
\item 
void \mbox{\hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport}} (const Q\+Rect \&rect)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}} (const Q\+Pixmap \&pm)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}{set\+Background}} (const Q\+Pixmap \&pm, bool scaled, Qt\+::\+Aspect\+Ratio\+Mode mode=Qt\+::\+Keep\+Aspect\+Ratio\+By\+Expanding)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}{set\+Background}} (const Q\+Brush \&brush)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}} (bool scaled)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}} (Qt\+::\+Aspect\+Ratio\+Mode mode)
\item 
void \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}} (const Q\+C\+P\+::\+Antialiased\+Elements \&antialiased\+Elements)
\item 
void \mbox{\hyperlink{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}{set\+Antialiased\+Element}} (\mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}} antialiased\+Element, bool enabled=true)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}} (const Q\+C\+P\+::\+Antialiased\+Elements \&not\+Antialiased\+Elements)
\item 
void \mbox{\hyperlink{class_q_custom_plot_afc657938a707c890e449ae89203a076d}{set\+Not\+Antialiased\+Element}} (\mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}} not\+Antialiased\+Element, bool enabled=true)
\item 
void \mbox{\hyperlink{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}{set\+Auto\+Add\+Plottable\+To\+Legend}} (bool on)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}} (const Q\+C\+P\+::\+Interactions \&interactions)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}{set\+Interaction}} (const \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction}} \&interaction, bool enabled=true)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}} (int pixels)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}{set\+No\+Antialiasing\+On\+Drag}} (bool enabled)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{set\+Plotting\+Hints}} (const Q\+C\+P\+::\+Plotting\+Hints \&hints)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}{set\+Plotting\+Hint}} (\mbox{\hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4}{Q\+C\+P\+::\+Plotting\+Hint}} hint, bool enabled=true)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}{set\+Multi\+Select\+Modifier}} (Qt\+::\+Keyboard\+Modifier modifier)
\item 
\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}} (int index)
\item 
\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}{plottable}} ()
\item 
bool \mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}} (\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable}} (\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}{remove\+Plottable}} (int index)
\item 
int \mbox{\hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables}} ()
\item 
int \mbox{\hyperlink{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}{plottable\+Count}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}} () const
\item 
\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_acddbbd8b16dd633f0d94e5a736fbd8cf}{plottable\+At}} (const Q\+PointF \&pos, bool only\+Selectable=false) const
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a72cefbfbb9e699940e37be605bd9c51e}{has\+Plottable}} (\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}}) const
\item 
\mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}{graph}} (int index) const
\item 
\mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_aac190865a67f19af3fdf2136774997af}{graph}} () const
\item 
\mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$key\+Axis=0, \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$value\+Axis=0)
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph}} (\mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}{graph}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}{remove\+Graph}} (int index)
\item 
int \mbox{\hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs}} ()
\item 
int \mbox{\hyperlink{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}{graph\+Count}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}{selected\+Graphs}} () const
\item 
\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}} (int index) const
\item 
\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a12eb2a283cf10a8a9176c01c0443e83e}{item}} () const
\item 
bool \mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}} (\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item}} (\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}{remove\+Item}} (int index)
\item 
int \mbox{\hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items}} ()
\item 
int \mbox{\hyperlink{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}{item\+Count}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}{selected\+Items}} () const
\item 
\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_ac08578e0e6c059c83a8d340ba0038e8e}{item\+At}} (const Q\+PointF \&pos, bool only\+Selectable=false) const
\item 
bool \mbox{\hyperlink{class_q_custom_plot_af0b57f35646079f93fa6161a65b36109}{has\+Item}} (\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}) const
\item 
\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}} (const Q\+String \&name) const
\item 
\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_acbb570f4c24306e7c2324d40bfe157c2}{layer}} (int index) const
\item 
\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a0421d647f420b0b4c57aec1708857af5}{current\+Layer}} () const
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer}} (const Q\+String \&name)
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}{set\+Current\+Layer}} (\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}})
\item 
int \mbox{\hyperlink{class_q_custom_plot_afa45d61e65292026f4c58c9c88c2cef0}{layer\+Count}} () const
\item 
bool \mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}} (const Q\+String \&name, \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$other\+Layer=0, \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode}} insert\+Mode=\mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}} (\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}})
\item 
bool \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}} (\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}}, \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$other\+Layer, \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode}} insert\+Mode=\mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}})
\item 
int \mbox{\hyperlink{class_q_custom_plot_a8f85940aaac50efb466287d9d2d04ec6}{axis\+Rect\+Count}} () const
\item 
\mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{axis\+Rect}} (int index=0) const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_a12af771429e2d7e313c8c5d5fca068fe}{axis\+Rects}} () const
\item 
\mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_afaa1d304e0287d140fd238e90889ef3c}{layout\+Element\+At}} (const Q\+PointF \&pos) const
\item 
Q\+\_\+\+S\+L\+OT void \mbox{\hyperlink{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}{rescale\+Axes}} (bool only\+Visible\+Plottables=false)
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}{selected\+Axes}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$ $>$ \mbox{\hyperlink{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}{selected\+Legends}} () const
\item 
Q\+\_\+\+S\+L\+OT void \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}} ()
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}} (const Q\+String \&file\+Name, bool no\+Cosmetic\+Pen=false, int width=0, int height=0, const Q\+String \&pdf\+Creator=Q\+String(), const Q\+String \&pdf\+Title=Q\+String())
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0, int quality=-\/1)
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0, int quality=-\/1)
\item 
bool \mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0)
\item 
bool \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}} (const Q\+String \&file\+Name, int width, int height, double scale, const char $\ast$format, int quality=-\/1)
\item 
Q\+Pixmap \mbox{\hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap}} (int width=0, int height=0, double scale=1.\+0)
\item 
void \mbox{\hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter}} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter, int width=0, int height=0)
\item 
Q\+\_\+\+S\+L\+OT void \mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}} (\mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}{Q\+Custom\+Plot\+::\+Refresh\+Priority}} refresh\+Priority=\mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332}{Q\+Custom\+Plot\+::rp\+Hint}})
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}
\item 
\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$ \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a0f7d90553493be687da80544f7244ad2}\label{class_q_custom_plot_a0f7d90553493be687da80544f7244ad2}} 
virtual Q\+Size {\bfseries minimum\+Size\+Hint} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a51601831bc7d5403d5e729347a10ba33}\label{class_q_custom_plot_a51601831bc7d5403d5e729347a10ba33}} 
virtual Q\+Size {\bfseries size\+Hint} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a2bbc3b1c24bfcc8a7cc1f3008cdd9b73}\label{class_q_custom_plot_a2bbc3b1c24bfcc8a7cc1f3008cdd9b73}} 
virtual void {\bfseries paint\+Event} (Q\+Paint\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a13e05523a40c3f08875df5cde85cf0d9}\label{class_q_custom_plot_a13e05523a40c3f08875df5cde85cf0d9}} 
virtual void {\bfseries resize\+Event} (Q\+Resize\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a77591913a5b543bdc465dd5e08325a49}\label{class_q_custom_plot_a77591913a5b543bdc465dd5e08325a49}} 
virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_abce84fa2c71e47b9295d67e8fce84bb4}\label{class_q_custom_plot_abce84fa2c71e47b9295d67e8fce84bb4}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac64727a4f442770f6e5e6be2d0530843}\label{class_q_custom_plot_ac64727a4f442770f6e5e6be2d0530843}} 
virtual void {\bfseries mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a724e97d2e8c03e68adac5f4b6164a1b3}\label{class_q_custom_plot_a724e97d2e8c03e68adac5f4b6164a1b3}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a7b8bd7e8d3a1d23a8595e9c6a6b76ef1}\label{class_q_custom_plot_a7b8bd7e8d3a1d23a8595e9c6a6b76ef1}} 
virtual void {\bfseries wheel\+Event} (Q\+Wheel\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_custom_plot_ad7a7d878bf050f101a43008e7d8fdb52}\label{class_q_custom_plot_ad7a7d878bf050f101a43008e7d8fdb52}} 
virtual void {\bfseries draw} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a8b46607021c463c94709d3504951cb47}\label{class_q_custom_plot_a8b46607021c463c94709d3504951cb47}} 
virtual void {\bfseries axis\+Removed} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$axis)
\item 
\mbox{\Hypertarget{class_q_custom_plot_a9d173454555021c9ffd4f675c4d9037a}\label{class_q_custom_plot_a9d173454555021c9ffd4f675c4d9037a}} 
virtual void {\bfseries legend\+Removed} (\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}})
\item 
\mbox{\Hypertarget{class_q_custom_plot_a7f1ca67a66d37b6d260a0b93de08f3bd}\label{class_q_custom_plot_a7f1ca67a66d37b6d260a0b93de08f3bd}} 
void {\bfseries update\+Layer\+Indices} () const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a12536fa6d5deb34ec620acb5134ca82a}\label{class_q_custom_plot_a12536fa6d5deb34ec620acb5134ca82a}} 
\mbox{\hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable}} $\ast$ {\bfseries layerable\+At} (const Q\+PointF \&pos, bool only\+Selectable, Q\+Variant $\ast$selection\+Details=0) const
\item 
\mbox{\Hypertarget{class_q_custom_plot_a05dd52438cee4353b18c1e53a439008d}\label{class_q_custom_plot_a05dd52438cee4353b18c1e53a439008d}} 
void {\bfseries draw\+Background} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac0a7c38a715526c257cff95774f83ab6}\label{class_q_custom_plot_ac0a7c38a715526c257cff95774f83ab6}} 
Q\+Rect {\bfseries m\+Viewport}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac97298756882a0eecd98151679850ac1}\label{class_q_custom_plot_ac97298756882a0eecd98151679850ac1}} 
\mbox{\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}} $\ast$ {\bfseries m\+Plot\+Layout}
\item 
\mbox{\Hypertarget{class_q_custom_plot_aaf3ea6a4cb04d35a149cc9a0cdac3394}\label{class_q_custom_plot_aaf3ea6a4cb04d35a149cc9a0cdac3394}} 
bool {\bfseries m\+Auto\+Add\+Plottable\+To\+Legend}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a62bf8e4e7f8d23fc1e9301ba0148269f}\label{class_q_custom_plot_a62bf8e4e7f8d23fc1e9301ba0148269f}} 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ $>$ {\bfseries m\+Plottables}
\item 
\mbox{\Hypertarget{class_q_custom_plot_adaf8d407d72a725169d7dbed2ee386bb}\label{class_q_custom_plot_adaf8d407d72a725169d7dbed2ee386bb}} 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ $>$ {\bfseries m\+Graphs}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a6a93905372326e31e98d6c3bc8953ec8}\label{class_q_custom_plot_a6a93905372326e31e98d6c3bc8953ec8}} 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ $>$ {\bfseries m\+Items}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a72ee313041b873d76c198793ce7e6c37}\label{class_q_custom_plot_a72ee313041b873d76c198793ce7e6c37}} 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ $>$ {\bfseries m\+Layers}
\item 
\mbox{\Hypertarget{class_q_custom_plot_aa333200629256830e273873b582a5524}\label{class_q_custom_plot_aa333200629256830e273873b582a5524}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Antialiased\+Elements}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a2b6ebcad00a90ba07f146cefcd4293da}\label{class_q_custom_plot_a2b6ebcad00a90ba07f146cefcd4293da}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Not\+Antialiased\+Elements}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ad717377ceba7493b4b32f0bcbbdf1895}\label{class_q_custom_plot_ad717377ceba7493b4b32f0bcbbdf1895}} 
Q\+C\+P\+::\+Interactions {\bfseries m\+Interactions}
\item 
\mbox{\Hypertarget{class_q_custom_plot_abc36e12dd0482117ad810a800c847722}\label{class_q_custom_plot_abc36e12dd0482117ad810a800c847722}} 
int {\bfseries m\+Selection\+Tolerance}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac83df968435f6b8ec79f2993ab9124e8}\label{class_q_custom_plot_ac83df968435f6b8ec79f2993ab9124e8}} 
bool {\bfseries m\+No\+Antialiasing\+On\+Drag}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a3aef5de4ac012178e3293248e9c63737}\label{class_q_custom_plot_a3aef5de4ac012178e3293248e9c63737}} 
Q\+Brush {\bfseries m\+Background\+Brush}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ae8f4677399324a78c5f8dbfb95a34f90}\label{class_q_custom_plot_ae8f4677399324a78c5f8dbfb95a34f90}} 
Q\+Pixmap {\bfseries m\+Background\+Pixmap}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a081bf046501d52642dc6d7e3bdb97d57}\label{class_q_custom_plot_a081bf046501d52642dc6d7e3bdb97d57}} 
Q\+Pixmap {\bfseries m\+Scaled\+Background\+Pixmap}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a62fe584b20680b1b2e1c7efb5c5416a5}\label{class_q_custom_plot_a62fe584b20680b1b2e1c7efb5c5416a5}} 
bool {\bfseries m\+Background\+Scaled}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ab82e8a5e3ad6b486f95d6da8bf49e9aa}\label{class_q_custom_plot_ab82e8a5e3ad6b486f95d6da8bf49e9aa}} 
Qt\+::\+Aspect\+Ratio\+Mode {\bfseries m\+Background\+Scaled\+Mode}
\item 
\mbox{\Hypertarget{class_q_custom_plot_aa27569c92e74395af10151357d268628}\label{class_q_custom_plot_aa27569c92e74395af10151357d268628}} 
\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ {\bfseries m\+Current\+Layer}
\item 
\mbox{\Hypertarget{class_q_custom_plot_aa184197a6101a9cc5807469e1d006c9e}\label{class_q_custom_plot_aa184197a6101a9cc5807469e1d006c9e}} 
Q\+C\+P\+::\+Plotting\+Hints {\bfseries m\+Plotting\+Hints}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a0e97e701c5671e7e463d2ce0211d0f8a}\label{class_q_custom_plot_a0e97e701c5671e7e463d2ce0211d0f8a}} 
Qt\+::\+Keyboard\+Modifier {\bfseries m\+Multi\+Select\+Modifier}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a753630df96e0672098d9e88bd41d1913}\label{class_q_custom_plot_a753630df96e0672098d9e88bd41d1913}} 
Q\+Pixmap {\bfseries m\+Paint\+Buffer}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ac57090da95056ae4dd67be67adfa85bd}\label{class_q_custom_plot_ac57090da95056ae4dd67be67adfa85bd}} 
Q\+Point {\bfseries m\+Mouse\+Press\+Pos}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a2f2e8b25e59cf3cf7b15e4767c02e747}\label{class_q_custom_plot_a2f2e8b25e59cf3cf7b15e4767c02e747}} 
Q\+Pointer$<$ \mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} $>$ {\bfseries m\+Mouse\+Event\+Element}
\item 
\mbox{\Hypertarget{class_q_custom_plot_ab30daeca6612c3948afd368dce5f1c39}\label{class_q_custom_plot_ab30daeca6612c3948afd368dce5f1c39}} 
bool {\bfseries m\+Replotting}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a8429035e7adfbd7f05805a6530ad5e3b}\label{class_q_custom_plot_a8429035e7adfbd7f05805a6530ad5e3b}} 
class {\bfseries Q\+C\+P\+Legend}
\item 
\mbox{\Hypertarget{class_q_custom_plot_af123edeca169ec7a31958a1d714e1a8a}\label{class_q_custom_plot_af123edeca169ec7a31958a1d714e1a8a}} 
class {\bfseries Q\+C\+P\+Axis}
\item 
\mbox{\Hypertarget{class_q_custom_plot_a5dbf96bf7664c1b6fce49063eeea6eef}\label{class_q_custom_plot_a5dbf96bf7664c1b6fce49063eeea6eef}} 
class {\bfseries Q\+C\+P\+Layer}
\item 
\mbox{\Hypertarget{class_q_custom_plot_acbf20ecb140f66c5fd1bc64ae0762990}\label{class_q_custom_plot_acbf20ecb140f66c5fd1bc64ae0762990}} 
class {\bfseries Q\+C\+P\+Axis\+Rect}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The central class of the library. This is the Q\+Widget which displays the plot and interacts with the user. 

For tutorials on how to use \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}, see the website~\newline
\href{http://www.qcustomplot.com/}{\tt http\+://www.\+qcustomplot.\+com/} 

\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Layer\+Insert\+Mode@{Layer\+Insert\+Mode}}
\index{Layer\+Insert\+Mode@{Layer\+Insert\+Mode}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{Layer\+Insert\+Mode}{LayerInsertMode}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}}

Defines how a layer should be inserted relative to an other layer.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}} 
\end{DoxySeeAlso}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{lim\+Below@{lim\+Below}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!lim\+Below@{lim\+Below}}}\mbox{\Hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}} 
lim\+Below&Layer is inserted below other layer. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{lim\+Above@{lim\+Above}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!lim\+Above@{lim\+Above}}}\mbox{\Hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}} 
lim\+Above&Layer is inserted above other layer. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}\label{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Refresh\+Priority@{Refresh\+Priority}}
\index{Refresh\+Priority@{Refresh\+Priority}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{Refresh\+Priority}{RefreshPriority}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}{Q\+Custom\+Plot\+::\+Refresh\+Priority}}}

Defines with what timing the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} surface is refreshed after a replot.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}} 
\end{DoxySeeAlso}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{rp\+Immediate@{rp\+Immediate}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!rp\+Immediate@{rp\+Immediate}}}\mbox{\Hypertarget{class_q_custom_plot_a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59}\label{class_q_custom_plot_a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59}} 
rp\+Immediate&The \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} surface is immediately refreshed, by calling Q\+Widget\+::repaint() after the replot. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{rp\+Queued@{rp\+Queued}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!rp\+Queued@{rp\+Queued}}}\mbox{\Hypertarget{class_q_custom_plot_a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798}\label{class_q_custom_plot_a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798}} 
rp\+Queued&Queues the refresh such that it is performed at a slightly delayed point in time after the replot, by calling Q\+Widget\+::update() after the replot. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{rp\+Hint@{rp\+Hint}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!rp\+Hint@{rp\+Hint}}}\mbox{\Hypertarget{class_q_custom_plot_a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332}\label{class_q_custom_plot_a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332}} 
rp\+Hint&Whether to use immediate repaint or queued update depends on whether the plotting hint \mbox{\hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4aa3090dafa0e0f9a28c579c79d6c2d283}{Q\+C\+P\+::ph\+Force\+Repaint}} is set, see \mbox{\hyperlink{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{set\+Plotting\+Hints}}. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}\label{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{Q\+Custom\+Plot()}{QCustomPlot()}}
{\footnotesize\ttfamily Q\+Custom\+Plot\+::\+Q\+Custom\+Plot (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

Constructs a \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} and sets reasonable default values. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}\label{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Graph@{add\+Graph}}
\index{add\+Graph@{add\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{add\+Graph()}{addGraph()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ Q\+Custom\+Plot\+::add\+Graph (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{key\+Axis = {\ttfamily 0},  }\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{value\+Axis = {\ttfamily 0} }\end{DoxyParamCaption})}

Creates a new graph inside the plot. If {\itshape key\+Axis} and {\itshape value\+Axis} are left unspecified (0), the bottom (x\+Axis) is used as key and the left (y\+Axis) is used as value axis. If specified, {\itshape key\+Axis} and {\itshape value\+Axis} must reside in this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

{\itshape key\+Axis} will be used as key axis (typically \char`\"{}x\char`\"{}) and {\itshape value\+Axis} as value axis (typically \char`\"{}y\char`\"{}) for the graph.

Returns a pointer to the newly created graph, or 0 if adding the graph failed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}{graph}}, \mbox{\hyperlink{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}{graph\+Count}}, \mbox{\hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph}}, \mbox{\hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}\label{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Item@{add\+Item}}
\index{add\+Item@{add\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{add\+Item()}{addItem()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::add\+Item (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$}]{item }\end{DoxyParamCaption})}

Adds the specified item to the plot. \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} takes ownership of the item.

Returns true on success, i.\+e. when {\itshape item} wasn\textquotesingle{}t already in the plot and the parent plot of {\itshape item} is this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, \mbox{\hyperlink{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}{item\+Count}}, \mbox{\hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item}}, \mbox{\hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}\label{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Layer@{add\+Layer}}
\index{add\+Layer@{add\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{add\+Layer()}{addLayer()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::add\+Layer (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name,  }\item[{\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$}]{other\+Layer = {\ttfamily 0},  }\item[{\mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}}]{insert\+Mode = {\ttfamily \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}}} }\end{DoxyParamCaption})}

Adds a new layer to this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance. The new layer will have the name {\itshape name}, which must be unique. Depending on {\itshape insert\+Mode}, it is positioned either below or above {\itshape other\+Layer}.

Returns true on success, i.\+e. if there is no other layer named {\itshape name} and {\itshape other\+Layer} is a valid layer inside this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

If {\itshape other\+Layer} is 0, the highest layer in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} will be used.

For an explanation of what layers are in \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}, see the documentation of \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}\label{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Plottable@{add\+Plottable}}
\index{add\+Plottable@{add\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{add\+Plottable()}{addPlottable()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::add\+Plottable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$}]{plottable }\end{DoxyParamCaption})}

Adds the specified plottable to the plot and, if \mbox{\hyperlink{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}{set\+Auto\+Add\+Plottable\+To\+Legend}} is enabled, to the legend (\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}). \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} takes ownership of the plottable.

Returns true on success, i.\+e. when {\itshape plottable} isn\textquotesingle{}t already in the plot and the parent plot of {\itshape plottable} is this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} (the latter is controlled by what axes were passed in the plottable\textquotesingle{}s constructor).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}}, \mbox{\hyperlink{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}{plottable\+Count}}, \mbox{\hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable}}, \mbox{\hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}\label{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!after\+Replot@{after\+Replot}}
\index{after\+Replot@{after\+Replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{after\+Replot}{afterReplot}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::after\+Replot (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted immediately after a replot has taken place (caused by a call to the slot \mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}}).

It is safe to mutually connect the replot slot with this signal on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}}, \mbox{\hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}\label{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Click@{axis\+Click}}
\index{axis\+Click@{axis\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{axis\+Click}{axisClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::axis\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{axis,  }\item[{\mbox{\hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part}}}]{part,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when an axis is clicked.

{\itshape event} is the mouse event that caused the click, {\itshape axis} is the axis that received the click and {\itshape part} indicates the part of the axis that was clicked.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}{axis\+Double\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}\label{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Double\+Click@{axis\+Double\+Click}}
\index{axis\+Double\+Click@{axis\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{axis\+Double\+Click}{axisDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::axis\+Double\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{axis,  }\item[{\mbox{\hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part}}}]{part,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when an axis is double clicked.

{\itshape event} is the mouse event that caused the click, {\itshape axis} is the axis that received the click and {\itshape part} indicates the part of the axis that was clicked.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}{axis\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}\label{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rect@{axis\+Rect}}
\index{axis\+Rect@{axis\+Rect}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{axis\+Rect()}{axisRect()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} $\ast$ Q\+Custom\+Plot\+::axis\+Rect (\begin{DoxyParamCaption}\item[{int}]{index = {\ttfamily 0} }\end{DoxyParamCaption}) const}

Returns the axis rect with {\itshape index}.

Initially, only one axis rect (with index 0) exists in the plot. If multiple axis rects were added, all of them may be accessed with this function in a linear fashion (even when they are nested in a layout hierarchy or inside other axis rects via \mbox{\hyperlink{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}{Q\+C\+P\+Axis\+Rect\+::inset\+Layout}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a8f85940aaac50efb466287d9d2d04ec6}{axis\+Rect\+Count}}, \mbox{\hyperlink{class_q_custom_plot_a12af771429e2d7e313c8c5d5fca068fe}{axis\+Rects}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a8f85940aaac50efb466287d9d2d04ec6}\label{class_q_custom_plot_a8f85940aaac50efb466287d9d2d04ec6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rect\+Count@{axis\+Rect\+Count}}
\index{axis\+Rect\+Count@{axis\+Rect\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{axis\+Rect\+Count()}{axisRectCount()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::axis\+Rect\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the number of axis rects in the plot.

All axis rects can be accessed via \mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{Q\+Custom\+Plot\+::axis\+Rect()}}.

Initially, only one axis rect exists in the plot.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{axis\+Rect}}, \mbox{\hyperlink{class_q_custom_plot_a12af771429e2d7e313c8c5d5fca068fe}{axis\+Rects}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a12af771429e2d7e313c8c5d5fca068fe}\label{class_q_custom_plot_a12af771429e2d7e313c8c5d5fca068fe}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rects@{axis\+Rects}}
\index{axis\+Rects@{axis\+Rects}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{axis\+Rects()}{axisRects()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} $\ast$ $>$ Q\+Custom\+Plot\+::axis\+Rects (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns all axis rects in the plot.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a8f85940aaac50efb466287d9d2d04ec6}{axis\+Rect\+Count}}, \mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{axis\+Rect}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}\label{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!before\+Replot@{before\+Replot}}
\index{before\+Replot@{before\+Replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{before\+Replot}{beforeReplot}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::before\+Replot (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted immediately before a replot takes place (caused by a call to the slot \mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}}).

It is safe to mutually connect the replot slot with this signal on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}{replot}}, \mbox{\hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}\label{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Graphs@{clear\+Graphs}}
\index{clear\+Graphs@{clear\+Graphs}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{clear\+Graphs()}{clearGraphs()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::clear\+Graphs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Removes all graphs from the plot (and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}, if necessary).

Returns the number of graphs removed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}\label{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Items@{clear\+Items}}
\index{clear\+Items@{clear\+Items}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{clear\+Items()}{clearItems()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::clear\+Items (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Removes all items from the plot.

Returns the number of items removed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}\label{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Plottables@{clear\+Plottables}}
\index{clear\+Plottables@{clear\+Plottables}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{clear\+Plottables()}{clearPlottables()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::clear\+Plottables (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Removes all plottables from the plot (and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}, if necessary).

Returns the number of plottables removed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a0421d647f420b0b4c57aec1708857af5}\label{class_q_custom_plot_a0421d647f420b0b4c57aec1708857af5}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!current\+Layer@{current\+Layer}}
\index{current\+Layer@{current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{current\+Layer()}{currentLayer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ Q\+Custom\+Plot\+::current\+Layer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the layer that is set as current layer (see \mbox{\hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer}}). \mbox{\Hypertarget{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}\label{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!deselect\+All@{deselect\+All}}
\index{deselect\+All@{deselect\+All}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{deselect\+All()}{deselectAll()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::deselect\+All (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Deselects all layerables (plottables, items, axes, legends,...) of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

Since calling this function is not a user interaction, this does not emit the \mbox{\hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User}} signal. The individual selection\+Changed signals are emitted though, if the objects were previously selected.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}, \mbox{\hyperlink{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}{selected\+Items}}, \mbox{\hyperlink{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}{selected\+Axes}}, \mbox{\hyperlink{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}{selected\+Legends}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}\label{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph@{graph}}
\index{graph@{graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{graph()}{graph()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ Q\+Custom\+Plot\+::graph (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption}) const}

Returns the graph with {\itshape index}. If the index is invalid, returns 0.

There is an overloaded version of this function with no parameter which returns the last created graph, see \mbox{\hyperlink{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}{Q\+Custom\+Plot\+::graph()}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}{graph\+Count}}, \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_aac190865a67f19af3fdf2136774997af}\label{class_q_custom_plot_aac190865a67f19af3fdf2136774997af}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph@{graph}}
\index{graph@{graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{graph()}{graph()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ Q\+Custom\+Plot\+::graph (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns the last graph, that was created with \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}}. If there are no graphs in the plot, returns 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}{graph\+Count}}, \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}\label{class_q_custom_plot_a5e1787cdde868c4d3790f9ebc8207d90}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph\+Count@{graph\+Count}}
\index{graph\+Count@{graph\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{graph\+Count()}{graphCount()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::graph\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the number of currently existing graphs in the plot

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a6ecae130f684b25276fb47bd3a5875c6}{graph}}, \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_af0b57f35646079f93fa6161a65b36109}\label{class_q_custom_plot_af0b57f35646079f93fa6161a65b36109}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!has\+Item@{has\+Item}}
\index{has\+Item@{has\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{has\+Item()}{hasItem()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::has\+Item (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$}]{item }\end{DoxyParamCaption}) const}

Returns whether this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} contains the {\itshape item}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a72cefbfbb9e699940e37be605bd9c51e}\label{class_q_custom_plot_a72cefbfbb9e699940e37be605bd9c51e}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!has\+Plottable@{has\+Plottable}}
\index{has\+Plottable@{has\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{has\+Plottable()}{hasPlottable()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::has\+Plottable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$}]{plottable }\end{DoxyParamCaption}) const}

Returns whether this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance contains the {\itshape plottable}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}\label{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item@{item}}
\index{item@{item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item()}{item()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ Q\+Custom\+Plot\+::item (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption}) const}

Returns the item with {\itshape index}. If the index is invalid, returns 0.

There is an overloaded version of this function with no parameter which returns the last added item, see \mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{Q\+Custom\+Plot\+::item()}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}{item\+Count}}, \mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a12eb2a283cf10a8a9176c01c0443e83e}\label{class_q_custom_plot_a12eb2a283cf10a8a9176c01c0443e83e}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item@{item}}
\index{item@{item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item()}{item()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ Q\+Custom\+Plot\+::item (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns the last item, that was added with \mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}}. If there are no items in the plot, returns 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}{item\+Count}}, \mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ac08578e0e6c059c83a8d340ba0038e8e}\label{class_q_custom_plot_ac08578e0e6c059c83a8d340ba0038e8e}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+At@{item\+At}}
\index{item\+At@{item\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item\+At()}{itemAt()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ Q\+Custom\+Plot\+::item\+At (\begin{DoxyParamCaption}\item[{const Q\+PointF \&}]{pos,  }\item[{bool}]{only\+Selectable = {\ttfamily false} }\end{DoxyParamCaption}) const}

Returns the item at the pixel position {\itshape pos}. Items that only consist of single lines (e.\+g. \mbox{\hyperlink{class_q_c_p_item_line}{Q\+C\+P\+Item\+Line}} or \mbox{\hyperlink{class_q_c_p_item_curve}{Q\+C\+P\+Item\+Curve}}) have a tolerance band around them, see \mbox{\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}}. If multiple items come into consideration, the one closest to {\itshape pos} is returned.

If {\itshape only\+Selectable} is true, only items that are selectable (\mbox{\hyperlink{class_q_c_p_abstract_item_a8a8e32a55bc478b849756a78c2d87fd2}{Q\+C\+P\+Abstract\+Item\+::set\+Selectable}}) are considered.

If there is no item at {\itshape pos}, the return value is 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_acddbbd8b16dd633f0d94e5a736fbd8cf}{plottable\+At}}, \mbox{\hyperlink{class_q_custom_plot_afaa1d304e0287d140fd238e90889ef3c}{layout\+Element\+At}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}\label{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Click@{item\+Click}}
\index{item\+Click@{item\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item\+Click}{itemClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::item\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$}]{item,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when an item is clicked.

{\itshape event} is the mouse event that caused the click and {\itshape item} is the item that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}{item\+Double\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}\label{class_q_custom_plot_a16025daf0341f9362be3080e404424c2}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Count@{item\+Count}}
\index{item\+Count@{item\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item\+Count()}{itemCount()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::item\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the number of currently existing items in the plot

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ac042f2e78edd228ccf2f26b7fe215239}{item}}, \mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}\label{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Double\+Click@{item\+Double\+Click}}
\index{item\+Double\+Click@{item\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{item\+Double\+Click}{itemDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::item\+Double\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$}]{item,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when an item is double clicked.

{\itshape event} is the mouse event that caused the click and {\itshape item} is the item that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}{item\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}\label{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer@{layer}}
\index{layer@{layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{layer()}{layer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ Q\+Custom\+Plot\+::layer (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name }\end{DoxyParamCaption}) const}

Returns the layer with the specified {\itshape name}. If there is no layer with the specified name, 0 is returned.

Layer names are case-\/sensitive.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_acbb570f4c24306e7c2324d40bfe157c2}\label{class_q_custom_plot_acbb570f4c24306e7c2324d40bfe157c2}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer@{layer}}
\index{layer@{layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{layer()}{layer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$ Q\+Custom\+Plot\+::layer (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption}) const}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns the layer by {\itshape index}. If the index is invalid, 0 is returned.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_afa45d61e65292026f4c58c9c88c2cef0}\label{class_q_custom_plot_afa45d61e65292026f4c58c9c88c2cef0}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer\+Count@{layer\+Count}}
\index{layer\+Count@{layer\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{layer\+Count()}{layerCount()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::layer\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the number of currently existing layers in the plot

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}}, \mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_afaa1d304e0287d140fd238e90889ef3c}\label{class_q_custom_plot_afaa1d304e0287d140fd238e90889ef3c}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layout\+Element\+At@{layout\+Element\+At}}
\index{layout\+Element\+At@{layout\+Element\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{layout\+Element\+At()}{layoutElementAt()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} $\ast$ Q\+Custom\+Plot\+::layout\+Element\+At (\begin{DoxyParamCaption}\item[{const Q\+PointF \&}]{pos }\end{DoxyParamCaption}) const}

Returns the layout element at pixel position {\itshape pos}. If there is no element at that position, returns 0.

Only visible elements are used. If \mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Layout\+Element\+::set\+Visible}} on the element itself or on any of its parent elements is set to false, it will not be considered.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ac08578e0e6c059c83a8d340ba0038e8e}{item\+At}}, \mbox{\hyperlink{class_q_custom_plot_acddbbd8b16dd633f0d94e5a736fbd8cf}{plottable\+At}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}\label{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!legend\+Click@{legend\+Click}}
\index{legend\+Click@{legend\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{legend\+Click}{legendClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::legend\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$}]{legend,  }\item[{\mbox{\hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item}} $\ast$}]{item,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a legend (item) is clicked.

{\itshape event} is the mouse event that caused the click, {\itshape legend} is the legend that received the click and {\itshape item} is the legend item that received the click. If only the legend and no item is clicked, {\itshape item} is 0. This happens for a click inside the legend padding or the space between two items.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a0250f835c044521df1619b132288bca7}{legend\+Double\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a0250f835c044521df1619b132288bca7}\label{class_q_custom_plot_a0250f835c044521df1619b132288bca7}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!legend\+Double\+Click@{legend\+Double\+Click}}
\index{legend\+Double\+Click@{legend\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{legend\+Double\+Click}{legendDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::legend\+Double\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$}]{legend,  }\item[{\mbox{\hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item}} $\ast$}]{item,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a legend (item) is double clicked.

{\itshape event} is the mouse event that caused the click, {\itshape legend} is the legend that received the click and {\itshape item} is the legend item that received the click. If only the legend and no item is clicked, {\itshape item} is 0. This happens for a click inside the legend padding or the space between two items.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}{legend\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}\label{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Double\+Click@{mouse\+Double\+Click}}
\index{mouse\+Double\+Click@{mouse\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{mouse\+Double\+Click}{mouseDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::mouse\+Double\+Click (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} receives a mouse double click event. \mbox{\Hypertarget{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}\label{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Move@{mouse\+Move}}
\index{mouse\+Move@{mouse\+Move}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{mouse\+Move}{mouseMove}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::mouse\+Move (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} receives a mouse move event.

It is emitted before \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.\+g. with \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag}} or \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}}.

\begin{DoxyWarning}{Warning}
It is discouraged to change the drag-\/axes with \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}} here, because the dragging starting point was saved the moment the mouse was pressed. Thus it only has a meaning for the range drag axes that were set at that moment. If you want to change the drag axes, consider doing this in the \mbox{\hyperlink{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}{mouse\+Press}} signal instead. 
\end{DoxyWarning}
\mbox{\Hypertarget{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}\label{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Press@{mouse\+Press}}
\index{mouse\+Press@{mouse\+Press}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{mouse\+Press}{mousePress}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::mouse\+Press (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} receives a mouse press event.

It is emitted before \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.\+g. with \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag}} or \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}}. \mbox{\Hypertarget{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}\label{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Release@{mouse\+Release}}
\index{mouse\+Release@{mouse\+Release}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{mouse\+Release}{mouseRelease}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::mouse\+Release (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} receives a mouse release event.

It is emitted before \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} handles any other mechanisms like object selection. So a slot connected to this signal can still influence the behaviour e.\+g. with \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}} or \mbox{\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}}. \mbox{\Hypertarget{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}\label{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Wheel@{mouse\+Wheel}}
\index{mouse\+Wheel@{mouse\+Wheel}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{mouse\+Wheel}{mouseWheel}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::mouse\+Wheel (\begin{DoxyParamCaption}\item[{Q\+Wheel\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} receives a mouse wheel event.

It is emitted before \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} handles any other mechanisms like range zooming. So a slot connected to this signal can still influence the behaviour e.\+g. with \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes}} or \mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor}}. \mbox{\Hypertarget{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}\label{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!move\+Layer@{move\+Layer}}
\index{move\+Layer@{move\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{move\+Layer()}{moveLayer()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::move\+Layer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$}]{layer,  }\item[{\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$}]{other\+Layer,  }\item[{\mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}}]{insert\+Mode = {\ttfamily \mbox{\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}}} }\end{DoxyParamCaption})}

Moves the specified {\itshape layer} either above or below {\itshape other\+Layer}. Whether it\textquotesingle{}s placed above or below is controlled with {\itshape insert\+Mode}.

Returns true on success, i.\+e. when both {\itshape layer} and {\itshape other\+Layer} are valid layers in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}}, \mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_af1a1f1f571237deb7c2bd34a5e9f018f}\label{class_q_custom_plot_af1a1f1f571237deb7c2bd34a5e9f018f}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plot\+Layout@{plot\+Layout}}
\index{plot\+Layout@{plot\+Layout}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plot\+Layout()}{plotLayout()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}} $\ast$ Q\+Custom\+Plot\+::plot\+Layout (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the top level layout of this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance. It is a \mbox{\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}}, initially containing just one cell with the main \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} inside. \mbox{\Hypertarget{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}\label{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable@{plottable}}
\index{plottable@{plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable()}{plottable()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ Q\+Custom\+Plot\+::plottable (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})}

Returns the plottable with {\itshape index}. If the index is invalid, returns 0.

There is an overloaded version of this function with no parameter which returns the last added plottable, see \mbox{\hyperlink{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}{Q\+Custom\+Plot\+::plottable()}}

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}{plottable\+Count}}, \mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}\label{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable@{plottable}}
\index{plottable@{plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable()}{plottable()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ Q\+Custom\+Plot\+::plottable (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns the last plottable that was added with \mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}}. If there are no plottables in the plot, returns 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}{plottable\+Count}}, \mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_acddbbd8b16dd633f0d94e5a736fbd8cf}\label{class_q_custom_plot_acddbbd8b16dd633f0d94e5a736fbd8cf}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+At@{plottable\+At}}
\index{plottable\+At@{plottable\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable\+At()}{plottableAt()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ Q\+Custom\+Plot\+::plottable\+At (\begin{DoxyParamCaption}\item[{const Q\+PointF \&}]{pos,  }\item[{bool}]{only\+Selectable = {\ttfamily false} }\end{DoxyParamCaption}) const}

Returns the plottable at the pixel position {\itshape pos}. Plottables that only consist of single lines (like graphs) have a tolerance band around them, see \mbox{\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}}. If multiple plottables come into consideration, the one closest to {\itshape pos} is returned.

If {\itshape only\+Selectable} is true, only plottables that are selectable (\mbox{\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}}) are considered.

If there is no plottable at {\itshape pos}, the return value is 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ac08578e0e6c059c83a8d340ba0038e8e}{item\+At}}, \mbox{\hyperlink{class_q_custom_plot_afaa1d304e0287d140fd238e90889ef3c}{layout\+Element\+At}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}\label{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Click@{plottable\+Click}}
\index{plottable\+Click@{plottable\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable\+Click}{plottableClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::plottable\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$}]{plottable,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a plottable is clicked.

{\itshape event} is the mouse event that caused the click and {\itshape plottable} is the plottable that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}\label{class_q_custom_plot_a5f4f15991c14bf9ad659bb2a19dfbed4}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Count@{plottable\+Count}}
\index{plottable\+Count@{plottable\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable\+Count()}{plottableCount()}}
{\footnotesize\ttfamily int Q\+Custom\+Plot\+::plottable\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the number of currently existing plottables in the plot

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}}, \mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}\label{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Double\+Click@{plottable\+Double\+Click}}
\index{plottable\+Double\+Click@{plottable\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{plottable\+Double\+Click}{plottableDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::plottable\+Double\+Click (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$}]{plottable,  }\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a plottable is double clicked.

{\itshape event} is the mouse event that caused the click and {\itshape plottable} is the plottable that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}\label{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Graph@{remove\+Graph}}
\index{remove\+Graph@{remove\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Graph()}{removeGraph()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Graph (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$}]{graph }\end{DoxyParamCaption})}

Removes the specified {\itshape graph} from the plot and, if necessary, from the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}. If any other graphs in the plot have a channel fill set towards the removed graph, the channel fill property of those graphs is reset to zero (no channel fill).

Returns true on success.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}\label{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Graph@{remove\+Graph}}
\index{remove\+Graph@{remove\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Graph()}{removeGraph()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Graph (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Removes the graph by its {\itshape index}. \mbox{\Hypertarget{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}\label{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Item@{remove\+Item}}
\index{remove\+Item@{remove\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Item()}{removeItem()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Item (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$}]{item }\end{DoxyParamCaption})}

Removes the specified item from the plot.

Returns true on success.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}}, \mbox{\hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}\label{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Item@{remove\+Item}}
\index{remove\+Item@{remove\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Item()}{removeItem()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Item (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Removes the item by its {\itshape index}. \mbox{\Hypertarget{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}\label{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Layer@{remove\+Layer}}
\index{remove\+Layer@{remove\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Layer()}{removeLayer()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Layer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$}]{layer }\end{DoxyParamCaption})}

Removes the specified {\itshape layer} and returns true on success.

All layerables (e.\+g. plottables and items) on the removed layer will be moved to the layer below {\itshape layer}. If {\itshape layer} is the bottom layer, the layerables are moved to the layer above. In both cases, the total rendering order of all layerables in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} is preserved.

If {\itshape layer} is the current layer (\mbox{\hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer}}), the layer below (or above, if bottom layer) becomes the new current layer.

It is not possible to remove the last layer of the plot.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a0a96244e7773b242ef23c32b7bdfb159}{layer}}, \mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}\label{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Plottable@{remove\+Plottable}}
\index{remove\+Plottable@{remove\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Plottable()}{removePlottable()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Plottable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$}]{plottable }\end{DoxyParamCaption})}

Removes the specified plottable from the plot and, if necessary, from the legend (\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}).

Returns true on success.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}}, \mbox{\hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}\label{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Plottable@{remove\+Plottable}}
\index{remove\+Plottable@{remove\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{remove\+Plottable()}{removePlottable()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::remove\+Plottable (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Removes the plottable by its {\itshape index}. \mbox{\Hypertarget{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}\label{class_q_custom_plot_a606fd384b2a637ce2c24899bcbde77d6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!replot@{replot}}
\index{replot@{replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{replot()}{replot()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::replot (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39}{Q\+Custom\+Plot\+::\+Refresh\+Priority}}}]{refresh\+Priority = {\ttfamily \mbox{\hyperlink{class_q_custom_plot_a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332}{Q\+Custom\+Plot\+::rp\+Hint}}} }\end{DoxyParamCaption})}

Causes a complete replot into the internal buffer. Finally, update() is called, to redraw the buffer on the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget surface. This is the method that must be called to make changes, for example on the axis ranges or data points of graphs, visible.

Under a few circumstances, \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} causes a replot by itself. Those are resize events of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget and user interactions (object selection and range dragging/zooming).

Before the replot happens, the signal \mbox{\hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot}} is emitted. After the replot, \mbox{\hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot}} is emitted. It is safe to mutually connect the replot slot with any of those two signals on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion. \mbox{\Hypertarget{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}\label{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!rescale\+Axes@{rescale\+Axes}}
\index{rescale\+Axes@{rescale\+Axes}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{rescale\+Axes()}{rescaleAxes()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::rescale\+Axes (\begin{DoxyParamCaption}\item[{bool}]{only\+Visible\+Plottables = {\ttfamily false} }\end{DoxyParamCaption})}

Rescales the axes such that all plottables (like graphs) in the plot are fully visible.

if {\itshape only\+Visible\+Plottables} is set to true, only the plottables that have their visibility set to true (\mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Layerable\+::set\+Visible}}), will be used to rescale the axes.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_abstract_plottable_a1491c4a606bccd2d09e65e11b79eb882}{Q\+C\+P\+Abstract\+Plottable\+::rescale\+Axes}}, \mbox{\hyperlink{class_q_c_p_axis_a499345f02ebce4b23d8ccec96e58daa9}{Q\+C\+P\+Axis\+::rescale}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}\label{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Bmp@{save\+Bmp}}
\index{save\+Bmp@{save\+Bmp}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{save\+Bmp()}{saveBmp()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::save\+Bmp (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Name,  }\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0},  }\item[{double}]{scale = {\ttfamily 1.0} }\end{DoxyParamCaption})}

Saves a B\+MP image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the {\itshape scale} parameter.

For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.

If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements}} to \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All}} as this allows \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} to place objects with sub-\/pixel accuracy.

\begin{DoxyWarning}{Warning}
If calling this function inside the constructor of the parent of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget (i.\+e. the \mbox{\hyperlink{class_main_window}{Main\+Window}} constructor, if \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} is inside the \mbox{\hyperlink{class_main_window}{Main\+Window}}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
\end{DoxyWarning}
The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}} before calling this function.

Returns true on success. If this function fails, most likely the B\+MP format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}}, \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}}, \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}\label{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Jpg@{save\+Jpg}}
\index{save\+Jpg@{save\+Jpg}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{save\+Jpg()}{saveJpg()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::save\+Jpg (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Name,  }\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0},  }\item[{double}]{scale = {\ttfamily 1.0},  }\item[{int}]{quality = {\ttfamily -\/1} }\end{DoxyParamCaption})}

Saves a J\+PG image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the {\itshape scale} parameter.

For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.

If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements}} to \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All}} as this allows \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} to place objects with sub-\/pixel accuracy.

\begin{DoxyWarning}{Warning}
If calling this function inside the constructor of the parent of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget (i.\+e. the \mbox{\hyperlink{class_main_window}{Main\+Window}} constructor, if \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} is inside the \mbox{\hyperlink{class_main_window}{Main\+Window}}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
\end{DoxyWarning}
The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}} before calling this function.

J\+PG compression can be controlled with the {\itshape quality} parameter which must be between 0 and 100 or -\/1 to use the default setting.

Returns true on success. If this function fails, most likely the J\+PG format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}}, \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}}, \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}\label{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Pdf@{save\+Pdf}}
\index{save\+Pdf@{save\+Pdf}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{save\+Pdf()}{savePdf()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::save\+Pdf (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Name,  }\item[{bool}]{no\+Cosmetic\+Pen = {\ttfamily false},  }\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0},  }\item[{const Q\+String \&}]{pdf\+Creator = {\ttfamily QString()},  }\item[{const Q\+String \&}]{pdf\+Title = {\ttfamily QString()} }\end{DoxyParamCaption})}

Saves a P\+DF with the vectorized plot to the file {\itshape file\+Name}. The axis ratio as well as the scale of texts and lines will be derived from the specified {\itshape width} and {\itshape height}. This means, the output will look like the normal on-\/screen output of a \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget with the corresponding pixel width and height. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget currently has.

{\itshape no\+Cosmetic\+Pen} disables the use of cosmetic pens when drawing to the P\+DF file. Cosmetic pens are pens with numerical width 0, which are always drawn as a one pixel wide line, no matter what zoom factor is set in the P\+D\+F-\/\+Viewer. For more information about cosmetic pens, see the Q\+Painter and Q\+Pen documentation.

The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}} before calling this function.

Returns true on success.

\begin{DoxyWarning}{Warning}
\begin{DoxyItemize}
\item If you plan on editing the exported P\+DF file with a vector graphics editor like Inkscape, it is advised to set {\itshape no\+Cosmetic\+Pen} to true to avoid losing those cosmetic lines (which might be quite many, because cosmetic pens are the default for e.\+g. axes and tick marks). \item If calling this function inside the constructor of the parent of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget (i.\+e. the \mbox{\hyperlink{class_main_window}{Main\+Window}} constructor, if \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} is inside the \mbox{\hyperlink{class_main_window}{Main\+Window}}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.\end{DoxyItemize}
{\itshape pdf\+Creator} and {\itshape pdf\+Title} may be used to set the according metadata fields in the resulting P\+DF file.
\end{DoxyWarning}
\begin{DoxyNote}{Note}
On Android systems, this method does nothing and issues an according q\+Debug warning message. This is also the case if for other reasons the define flag Q\+T\+\_\+\+N\+O\+\_\+\+P\+R\+I\+N\+T\+ER is set.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}}, \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}}, \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}\label{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Png@{save\+Png}}
\index{save\+Png@{save\+Png}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{save\+Png()}{savePng()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::save\+Png (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Name,  }\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0},  }\item[{double}]{scale = {\ttfamily 1.0},  }\item[{int}]{quality = {\ttfamily -\/1} }\end{DoxyParamCaption})}

Saves a P\+NG image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the {\itshape scale} parameter.

For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.

If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements}} to \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All}} as this allows \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} to place objects with sub-\/pixel accuracy.

\begin{DoxyWarning}{Warning}
If calling this function inside the constructor of the parent of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget (i.\+e. the \mbox{\hyperlink{class_main_window}{Main\+Window}} constructor, if \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} is inside the \mbox{\hyperlink{class_main_window}{Main\+Window}}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
\end{DoxyWarning}
The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}} before calling this function.

If you want the P\+NG to have a transparent background, call \mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}}(const Q\+Brush \&brush) with no brush (Qt\+::\+No\+Brush) or a transparent color (Qt\+::transparent), before saving.

P\+NG compression can be controlled with the {\itshape quality} parameter which must be between 0 and 100 or -\/1 to use the default setting.

Returns true on success. If this function fails, most likely the P\+NG format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}}, \mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}}, \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}}, \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}\label{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Rastered@{save\+Rastered}}
\index{save\+Rastered@{save\+Rastered}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{save\+Rastered()}{saveRastered()}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::save\+Rastered (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Name,  }\item[{int}]{width,  }\item[{int}]{height,  }\item[{double}]{scale,  }\item[{const char $\ast$}]{format,  }\item[{int}]{quality = {\ttfamily -\/1} }\end{DoxyParamCaption})}

Saves the plot to a rastered image file {\itshape file\+Name} in the image format {\itshape format}. The plot is sized to {\itshape width} and {\itshape height} in pixels and scaled with {\itshape scale}. (width 100 and scale 2.\+0 lead to a full resolution file with width 200.) If the {\itshape format} supports compression, {\itshape quality} may be between 0 and 100 to control it.

Returns true on success. If this function fails, most likely the given {\itshape format} isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}}, \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}}, \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}\label{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Axes@{selected\+Axes}}
\index{selected\+Axes@{selected\+Axes}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selected\+Axes()}{selectedAxes()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Axes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the axes that currently have selected parts, i.\+e. whose selection state is not \mbox{\hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea}{Q\+C\+P\+Axis\+::sp\+None}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}, \mbox{\hyperlink{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}{selected\+Legends}}, \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_c_p_axis_ab9d7a69277dcbed9119b3c1f25ca19c3}{Q\+C\+P\+Axis\+::set\+Selected\+Parts}}, \mbox{\hyperlink{class_q_c_p_axis_a513f9b9e326c505d9bec54880031b085}{Q\+C\+P\+Axis\+::set\+Selectable\+Parts}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}\label{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Graphs@{selected\+Graphs}}
\index{selected\+Graphs@{selected\+Graphs}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selected\+Graphs()}{selectedGraphs()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Graphs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.

If you are not only interested in selected graphs but other plottables like \mbox{\hyperlink{class_q_c_p_curve}{Q\+C\+P\+Curve}}, \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}}, etc., use \mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}, \mbox{\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}}, \mbox{\hyperlink{class_q_c_p_abstract_plottable_afbd5428c2952f59d952e11ab5cd79176}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selected}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}\label{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Items@{selected\+Items}}
\index{selected\+Items@{selected\+Items}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selected\+Items()}{selectedItems()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Items (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of the selected items. If no items are currently selected, the list is empty.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_c_p_abstract_item_a8a8e32a55bc478b849756a78c2d87fd2}{Q\+C\+P\+Abstract\+Item\+::set\+Selectable}}, \mbox{\hyperlink{class_q_c_p_abstract_item_a203de94ad586cc44d16c9565f49d3378}{Q\+C\+P\+Abstract\+Item\+::set\+Selected}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}\label{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Legends@{selected\+Legends}}
\index{selected\+Legends@{selected\+Legends}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selected\+Legends()}{selectedLegends()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Legends (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the legends that currently have selected parts, i.\+e. whose selection state is not \mbox{\hyperlink{class_q_c_p_legend_a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7}{Q\+C\+P\+Legend\+::sp\+None}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}, \mbox{\hyperlink{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}{selected\+Axes}}, \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_c_p_legend_a2aee309bb5c2a794b1987f3fc97f8ad8}{Q\+C\+P\+Legend\+::set\+Selected\+Parts}}, \mbox{\hyperlink{class_q_c_p_legend_a9ce60aa8bbd89f62ae4fa83ac6c60110}{Q\+C\+P\+Legend\+::set\+Selectable\+Parts}}, \mbox{\hyperlink{class_q_c_p_legend_ac7d9e567d5c551e09cd9bcc4306c5532}{Q\+C\+P\+Legend\+::selected\+Items}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}\label{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Plottables@{selected\+Plottables}}
\index{selected\+Plottables@{selected\+Plottables}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selected\+Plottables()}{selectedPlottables()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Plottables (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.

There is a convenience function if you\textquotesingle{}re only interested in selected graphs, see \mbox{\hyperlink{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}{selected\+Graphs}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}}, \mbox{\hyperlink{class_q_c_p_abstract_plottable_afbd5428c2952f59d952e11ab5cd79176}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selected}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}\label{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selection\+Changed\+By\+User@{selection\+Changed\+By\+User}}
\index{selection\+Changed\+By\+User@{selection\+Changed\+By\+User}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{selection\+Changed\+By\+User}{selectionChangedByUser}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::selection\+Changed\+By\+User (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted after the user has changed the selection in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}, e.\+g. by clicking. It is not emitted when the selection state of an object has changed programmatically by a direct call to set\+Selected() on an object or by calling \mbox{\hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}}.

In addition to this signal, selectable objects also provide individual signals, for example \mbox{\hyperlink{class_q_c_p_axis_a62b598abeee7174a05f9d542cc85b1f5}{Q\+C\+P\+Axis\+::selection\+Changed}} or \mbox{\hyperlink{class_q_c_p_abstract_plottable_a3af66432b1dca93b28e00e78a8c7c1d9}{Q\+C\+P\+Abstract\+Plottable\+::selection\+Changed}}. Note that those signals are emitted even if the selection state is changed programmatically.

See the documentation of \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}} for details about the selection mechanism.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}, \mbox{\hyperlink{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}{selected\+Graphs}}, \mbox{\hyperlink{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}{selected\+Items}}, \mbox{\hyperlink{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}{selected\+Axes}}, \mbox{\hyperlink{class_q_custom_plot_ac87624ddff1cbf4064781a8e8ae321c4}{selected\+Legends}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}\label{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Antialiased\+Element@{set\+Antialiased\+Element}}
\index{set\+Antialiased\+Element@{set\+Antialiased\+Element}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Antialiased\+Element()}{setAntialiasedElement()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Antialiased\+Element (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}}}]{antialiased\+Element,  }\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})}

Sets whether the specified {\itshape antialiased\+Element} is forcibly drawn antialiased.

See \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}} for details.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_afc657938a707c890e449ae89203a076d}{set\+Not\+Antialiased\+Element}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}\label{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Antialiased\+Elements@{set\+Antialiased\+Elements}}
\index{set\+Antialiased\+Elements@{set\+Antialiased\+Elements}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Antialiased\+Elements()}{setAntialiasedElements()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Antialiased\+Elements (\begin{DoxyParamCaption}\item[{const Q\+C\+P\+::\+Antialiased\+Elements \&}]{antialiased\+Elements }\end{DoxyParamCaption})}

Sets which elements are forcibly drawn antialiased as an {\itshape or} combination of \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}}.

This overrides the antialiasing settings for whole element groups, normally controlled with the {\itshape set\+Antialiasing} function on the individual elements. If an element is neither specified in \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}} nor in \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}}, the antialiasing setting on each individual element instance is used.

For example, if {\itshape antialiased\+Elements} contains \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6}{Q\+C\+P\+::ae\+Plottables}}, all plottables will be drawn antialiased, no matter what the specific \mbox{\hyperlink{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{Q\+C\+P\+Abstract\+Plottable\+::set\+Antialiased}} value was set to.

if an element in {\itshape antialiased\+Elements} is already set in \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}}, it is removed from there.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}\label{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Auto\+Add\+Plottable\+To\+Legend@{set\+Auto\+Add\+Plottable\+To\+Legend}}
\index{set\+Auto\+Add\+Plottable\+To\+Legend@{set\+Auto\+Add\+Plottable\+To\+Legend}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Auto\+Add\+Plottable\+To\+Legend()}{setAutoAddPlottableToLegend()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Auto\+Add\+Plottable\+To\+Legend (\begin{DoxyParamCaption}\item[{bool}]{on }\end{DoxyParamCaption})}

If set to true, adding a plottable (e.\+g. a graph) to the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} automatically also adds the plottable to the legend (\mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{Q\+Custom\+Plot\+::legend}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}}, \mbox{\hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}}, \mbox{\hyperlink{class_q_c_p_legend_a3ab274de52d2951faea45a6d975e6b3f}{Q\+C\+P\+Legend\+::add\+Item}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}\label{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Pixmap \&}]{pm }\end{DoxyParamCaption})}

Sets {\itshape pm} as the viewport background pixmap (see \mbox{\hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport}}). The pixmap is always drawn below all other objects in the plot.

For cases where the provided pixmap doesn\textquotesingle{}t have the same size as the viewport, scaling can be enabled with \mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}} and the scaling mode (whether and how the aspect ratio is preserved) can be set with \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}}. To set all these options in one call, consider using the overloaded version of this function.

If a background brush was set with \mbox{\hyperlink{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}{set\+Background(const Q\+Brush \&brush)}}, the viewport will first be filled with that brush, before drawing the background pixmap. This can be useful for background pixmaps with translucent areas.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}}, \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}\label{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Pixmap \&}]{pm,  }\item[{bool}]{scaled,  }\item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode = {\ttfamily Qt\+:\+:KeepAspectRatioByExpanding} }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Allows setting the background pixmap of the viewport, whether it shall be scaled and how it shall be scaled in one call.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background(const Q\+Pixmap \&pm)}}, \mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}}, \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}\label{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Brush \&}]{brush }\end{DoxyParamCaption})}

Sets the background brush of the viewport (see \mbox{\hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport}}).

Before drawing everything else, the background is filled with {\itshape brush}. If a background pixmap was set with \mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background(const Q\+Pixmap \&pm)}}, this brush will be used to fill the viewport before the background pixmap is drawn. This can be useful for background pixmaps with translucent areas.

Set {\itshape brush} to Qt\+::\+No\+Brush or Qt\+::\+Transparent to leave background transparent. This can be useful for exporting to image formats which support transparency, e.\+g. \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}}, \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}\label{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background\+Scaled@{set\+Background\+Scaled}}
\index{set\+Background\+Scaled@{set\+Background\+Scaled}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Background\+Scaled()}{setBackgroundScaled()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Background\+Scaled (\begin{DoxyParamCaption}\item[{bool}]{scaled }\end{DoxyParamCaption})}

Sets whether the viewport background pixmap shall be scaled to fit the viewport. If {\itshape scaled} is set to true, control whether and how the aspect ratio of the original pixmap is preserved with \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}}.

Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the viewport dimensions are changed continuously.)

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}}, \mbox{\hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}\label{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}}
\index{set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Background\+Scaled\+Mode()}{setBackgroundScaledMode()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Background\+Scaled\+Mode (\begin{DoxyParamCaption}\item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode }\end{DoxyParamCaption})}

If scaling of the viewport background pixmap is enabled (\mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}}), use this function to define whether and how the aspect ratio of the original pixmap is preserved.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}}, \mbox{\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}\label{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Current\+Layer@{set\+Current\+Layer}}
\index{set\+Current\+Layer@{set\+Current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Current\+Layer()}{setCurrentLayer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::set\+Current\+Layer (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name }\end{DoxyParamCaption})}

Sets the layer with the specified {\itshape name} to be the current layer. All layerables (\mbox{\hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable}}), e.\+g. plottables and items, are created on the current layer.

Returns true on success, i.\+e. if there is a layer with the specified {\itshape name} in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

Layer names are case-\/sensitive.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}}, \mbox{\hyperlink{class_q_c_p_layerable_ab0d0da6d2de45a118886d2c8e16d5a54}{Q\+C\+P\+Layerable\+::set\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}\label{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Current\+Layer@{set\+Current\+Layer}}
\index{set\+Current\+Layer@{set\+Current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Current\+Layer()}{setCurrentLayer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Q\+Custom\+Plot\+::set\+Current\+Layer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} $\ast$}]{layer }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Sets the provided {\itshape layer} to be the current layer.

Returns true on success, i.\+e. when {\itshape layer} is a valid layer in the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}}, \mbox{\hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}\label{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Interaction@{set\+Interaction}}
\index{set\+Interaction@{set\+Interaction}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Interaction()}{setInteraction()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Interaction (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction}} \&}]{interaction,  }\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})}

Sets the single {\itshape interaction} of this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} to {\itshape enabled}.

For details about the interaction system, see \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}\label{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Interactions@{set\+Interactions}}
\index{set\+Interactions@{set\+Interactions}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Interactions()}{setInteractions()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Interactions (\begin{DoxyParamCaption}\item[{const Q\+C\+P\+::\+Interactions \&}]{interactions }\end{DoxyParamCaption})}

Sets the possible interactions of this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} as an or-\/combination of \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction}} enums. There are the following types of interactions\+:

{\bfseries Axis range manipulation} is controlled via \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag}} and \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom}}. When the respective interaction is enabled, the user may drag axes ranges and zoom with the mouse wheel. For details how to control which axes the user may drag/zoom and in what orientations, see \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes}}.

{\bfseries Plottable selection} is controlled by \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec}{Q\+C\+P\+::i\+Select\+Plottables}}. If \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec}{Q\+C\+P\+::i\+Select\+Plottables}} is set, the user may select plottables (graphs, curves, bars,...) by clicking on them or in their vicinity (\mbox{\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}}). Whether the user can actually select a plottable can further be restricted with the \mbox{\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}} function on the specific plottable. To find out whether a specific plottable is selected, call Q\+C\+P\+Abstract\+Plottable\+::selected(). To retrieve a list of all currently selected plottables, call \mbox{\hyperlink{class_q_custom_plot_a747faaab57c56891e901a1e97fa4359a}{selected\+Plottables}}. If you\textquotesingle{}re only interested in Q\+C\+P\+Graphs, you may use the convenience function \mbox{\hyperlink{class_q_custom_plot_ad3547aded026d8a9ae6ef13a69080d06}{selected\+Graphs}}.

{\bfseries Item selection} is controlled by \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260}{Q\+C\+P\+::i\+Select\+Items}}. If \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260}{Q\+C\+P\+::i\+Select\+Items}} is set, the user may select items (\mbox{\hyperlink{class_q_c_p_item_line}{Q\+C\+P\+Item\+Line}}, \mbox{\hyperlink{class_q_c_p_item_text}{Q\+C\+P\+Item\+Text}},...) by clicking on them or in their vicinity. To find out whether a specific item is selected, call Q\+C\+P\+Abstract\+Item\+::selected(). To retrieve a list of all currently selected items, call \mbox{\hyperlink{class_q_custom_plot_afda487bcf2d6cf1a57173d82495e29ba}{selected\+Items}}.

{\bfseries Axis selection} is controlled with \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa}{Q\+C\+P\+::i\+Select\+Axes}}. If \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa}{Q\+C\+P\+::i\+Select\+Axes}} is set, the user may select parts of the axes by clicking on them. What parts exactly (e.\+g. Axis base line, tick labels, axis label) are selectable can be controlled via \mbox{\hyperlink{class_q_c_p_axis_a513f9b9e326c505d9bec54880031b085}{Q\+C\+P\+Axis\+::set\+Selectable\+Parts}} for each axis. To retrieve a list of all axes that currently contain selected parts, call \mbox{\hyperlink{class_q_custom_plot_a7e6b07792b1cb2c31681596582d14dbe}{selected\+Axes}}. Which parts of an axis are selected, can be retrieved with Q\+C\+P\+Axis\+::selected\+Parts().

{\bfseries Legend selection} is controlled with \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513}{Q\+C\+P\+::i\+Select\+Legend}}. If this is set, the user may select the legend itself or individual items by clicking on them. What parts exactly are selectable can be controlled via \mbox{\hyperlink{class_q_c_p_legend_a9ce60aa8bbd89f62ae4fa83ac6c60110}{Q\+C\+P\+Legend\+::set\+Selectable\+Parts}}. To find out whether the legend or any of its child items are selected, check the value of Q\+C\+P\+Legend\+::selected\+Parts. To find out which child items are selected, call \mbox{\hyperlink{class_q_c_p_legend_ac7d9e567d5c551e09cd9bcc4306c5532}{Q\+C\+P\+Legend\+::selected\+Items}}.

{\bfseries All other selectable elements} The selection of all other selectable objects (e.\+g. \mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}}, or your own layerable subclasses) is controlled with \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949}{Q\+C\+P\+::i\+Select\+Other}}. If set, the user may select those objects by clicking on them. To find out which are currently selected, you need to check their selected state explicitly.

If the selection state has changed by user interaction, the \mbox{\hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User}} signal is emitted. Each selectable object additionally emits an individual selection\+Changed signal whenever their selection state has changed, i.\+e. not only by user interaction.

To allow multiple objects to be selected by holding the selection modifier (\mbox{\hyperlink{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}{set\+Multi\+Select\+Modifier}}), set the flag \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d}{Q\+C\+P\+::i\+Multi\+Select}}.

\begin{DoxyNote}{Note}
In addition to the selection mechanism presented here, \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} always emits corresponding signals, when an object is clicked or double clicked. see \mbox{\hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click}} and \mbox{\hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click}} for example.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}{set\+Interaction}}, \mbox{\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}\label{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Multi\+Select\+Modifier@{set\+Multi\+Select\+Modifier}}
\index{set\+Multi\+Select\+Modifier@{set\+Multi\+Select\+Modifier}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Multi\+Select\+Modifier()}{setMultiSelectModifier()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Multi\+Select\+Modifier (\begin{DoxyParamCaption}\item[{Qt\+::\+Keyboard\+Modifier}]{modifier }\end{DoxyParamCaption})}

Sets the keyboard modifier that will be recognized as multi-\/select-\/modifier.

If \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d}{Q\+C\+P\+::i\+Multi\+Select}} is specified in \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, the user may select multiple objects by clicking on them one after the other while holding down {\itshape modifier}.

By default the multi-\/select-\/modifier is set to Qt\+::\+Control\+Modifier.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}\label{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+No\+Antialiasing\+On\+Drag@{set\+No\+Antialiasing\+On\+Drag}}
\index{set\+No\+Antialiasing\+On\+Drag@{set\+No\+Antialiasing\+On\+Drag}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+No\+Antialiasing\+On\+Drag()}{setNoAntialiasingOnDrag()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+No\+Antialiasing\+On\+Drag (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})}

Sets whether antialiasing is disabled for this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} while the user is dragging axes ranges. If many objects, especially plottables, are drawn antialiased, this greatly improves performance during dragging. Thus it creates a more responsive user experience. As soon as the user stops dragging, the last replot is done with normal antialiasing, to restore high image quality.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}}, \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_afc657938a707c890e449ae89203a076d}\label{class_q_custom_plot_afc657938a707c890e449ae89203a076d}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Not\+Antialiased\+Element@{set\+Not\+Antialiased\+Element}}
\index{set\+Not\+Antialiased\+Element@{set\+Not\+Antialiased\+Element}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Not\+Antialiased\+Element()}{setNotAntialiasedElement()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Not\+Antialiased\+Element (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}}}]{not\+Antialiased\+Element,  }\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})}

Sets whether the specified {\itshape not\+Antialiased\+Element} is forcibly drawn not antialiased.

See \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}} for details.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}{set\+Antialiased\+Element}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}\label{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Not\+Antialiased\+Elements@{set\+Not\+Antialiased\+Elements}}
\index{set\+Not\+Antialiased\+Elements@{set\+Not\+Antialiased\+Elements}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Not\+Antialiased\+Elements()}{setNotAntialiasedElements()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Not\+Antialiased\+Elements (\begin{DoxyParamCaption}\item[{const Q\+C\+P\+::\+Antialiased\+Elements \&}]{not\+Antialiased\+Elements }\end{DoxyParamCaption})}

Sets which elements are forcibly drawn not antialiased as an {\itshape or} combination of \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}}.

This overrides the antialiasing settings for whole element groups, normally controlled with the {\itshape set\+Antialiasing} function on the individual elements. If an element is neither specified in \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}} nor in \mbox{\hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}}, the antialiasing setting on each individual element instance is used.

For example, if {\itshape not\+Antialiased\+Elements} contains \mbox{\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6}{Q\+C\+P\+::ae\+Plottables}}, no plottables will be drawn antialiased, no matter what the specific \mbox{\hyperlink{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{Q\+C\+P\+Abstract\+Plottable\+::set\+Antialiased}} value was set to.

if an element in {\itshape not\+Antialiased\+Elements} is already set in \mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}}, it is removed from there.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}\label{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Plotting\+Hint@{set\+Plotting\+Hint}}
\index{set\+Plotting\+Hint@{set\+Plotting\+Hint}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Plotting\+Hint()}{setPlottingHint()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Plotting\+Hint (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4}{Q\+C\+P\+::\+Plotting\+Hint}}}]{hint,  }\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})}

Sets the specified plotting {\itshape hint} to {\itshape enabled}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{set\+Plotting\+Hints}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}\label{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Plotting\+Hints@{set\+Plotting\+Hints}}
\index{set\+Plotting\+Hints@{set\+Plotting\+Hints}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Plotting\+Hints()}{setPlottingHints()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Plotting\+Hints (\begin{DoxyParamCaption}\item[{const Q\+C\+P\+::\+Plotting\+Hints \&}]{hints }\end{DoxyParamCaption})}

Sets the plotting hints for this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance as an {\itshape or} combination of \mbox{\hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4}{Q\+C\+P\+::\+Plotting\+Hint}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}{set\+Plotting\+Hint}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}\label{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Selection\+Tolerance@{set\+Selection\+Tolerance}}
\index{set\+Selection\+Tolerance@{set\+Selection\+Tolerance}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Selection\+Tolerance()}{setSelectionTolerance()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Selection\+Tolerance (\begin{DoxyParamCaption}\item[{int}]{pixels }\end{DoxyParamCaption})}

Sets the tolerance that is used to decide whether a click selects an object (e.\+g. a plottable) or not.

If the user clicks in the vicinity of the line of e.\+g. a \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}}, it\textquotesingle{}s only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than {\itshape pixels}. Objects that are defined by an area (e.\+g. \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}}) only react to clicks directly inside the area and ignore this selection tolerance. In other words, it only has meaning for parts of objects that are too thin to exactly hit with a click and thus need such a tolerance.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}}, \mbox{\hyperlink{class_q_c_p_layerable_a04db8351fefd44cfdb77958e75c6288e}{Q\+C\+P\+Layerable\+::select\+Test}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}\label{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Viewport@{set\+Viewport}}
\index{set\+Viewport@{set\+Viewport}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{set\+Viewport()}{setViewport()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::set\+Viewport (\begin{DoxyParamCaption}\item[{const Q\+Rect \&}]{rect }\end{DoxyParamCaption})}

Sets the viewport of this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}. The Viewport is the area that the top level layout (\mbox{\hyperlink{class_q_custom_plot_af1a1f1f571237deb7c2bd34a5e9f018f}{Q\+Custom\+Plot\+::plot\+Layout()}}) uses as its rect. Normally, the viewport is the entire widget rect.

This function is used to allow arbitrary size exports with \mbox{\hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap}}, \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}}, etc. by temporarily changing the viewport size. \mbox{\Hypertarget{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}\label{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!title\+Click@{title\+Click}}
\index{title\+Click@{title\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{title\+Click}{titleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::title\+Click (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event,  }\item[{\mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} $\ast$}]{title }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a plot title is clicked.

{\itshape event} is the mouse event that caused the click and {\itshape title} is the plot title that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{title\+Double\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}\label{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!title\+Double\+Click@{title\+Double\+Click}}
\index{title\+Double\+Click@{title\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{title\+Double\+Click}{titleDoubleClick}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::title\+Double\+Click (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event,  }\item[{\mbox{\hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}} $\ast$}]{title }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}

This signal is emitted when a plot title is double clicked.

{\itshape event} is the mouse event that caused the click and {\itshape title} is the plot title that received the click.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{title\+Click}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}\label{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!to\+Painter@{to\+Painter}}
\index{to\+Painter@{to\+Painter}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{to\+Painter()}{toPainter()}}
{\footnotesize\ttfamily void Q\+Custom\+Plot\+::to\+Painter (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$}]{painter,  }\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0} }\end{DoxyParamCaption})}

Renders the plot using the passed {\itshape painter}.

The plot is sized to {\itshape width} and {\itshape height} in pixels. If the {\itshape painter\textquotesingle{}s} scale is not 1.\+0, the resulting plot will appear scaled accordingly.

\begin{DoxyNote}{Note}
If you are restricted to using a Q\+Painter (instead of \mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}}), create a temporary Q\+Picture and open a \mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} on it. Then call \mbox{\hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter}} with this \mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}}. After ending the paint operation on the picture, draw it with the Q\+Painter. This will reproduce the painter actions the \mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} took, with a Q\+Painter.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}\label{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!to\+Pixmap@{to\+Pixmap}}
\index{to\+Pixmap@{to\+Pixmap}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{to\+Pixmap()}{toPixmap()}}
{\footnotesize\ttfamily Q\+Pixmap Q\+Custom\+Plot\+::to\+Pixmap (\begin{DoxyParamCaption}\item[{int}]{width = {\ttfamily 0},  }\item[{int}]{height = {\ttfamily 0},  }\item[{double}]{scale = {\ttfamily 1.0} }\end{DoxyParamCaption})}

Renders the plot to a pixmap and returns it.

The plot is sized to {\itshape width} and {\itshape height} in pixels and scaled with {\itshape scale}. (width 100 and scale 2.\+0 lead to a full resolution pixmap with width 200.)

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter}}, \mbox{\hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}}, \mbox{\hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}}, \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}}, \mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_custom_plot_a19842409b18f556b256d05e97fffc670}\label{class_q_custom_plot_a19842409b18f556b256d05e97fffc670}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!viewport@{viewport}}
\index{viewport@{viewport}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{viewport()}{viewport()}}
{\footnotesize\ttfamily Q\+Rect Q\+Custom\+Plot\+::viewport (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the viewport rect of this \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance. The viewport is the area the plot is drawn in, all mechanisms, e.\+g. margin caluclation take the viewport to be the outer border of the plot. The viewport normally is the rect() of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget, i.\+e. a rect with top left (0, 0) and size of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget.

Don\textquotesingle{}t confuse the viewport with the axis rect (\mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{Q\+Custom\+Plot\+::axis\+Rect}}). An axis rect is typically an area enclosed by four axes, where the graphs/plottables are drawn in. The viewport is larger and contains also the axes themselves, their tick numbers, their labels, the plot title etc.

Only when saving to a file (see \mbox{\hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}}, \mbox{\hyperlink{class_q_custom_plot_a632da44c6d94ea8b271eb483b08b5114}{save\+Pdf}} etc.) the viewport is temporarily modified to allow saving plots with sizes independent of the current widget size. 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}\label{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!legend@{legend}}
\index{legend@{legend}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{legend}{legend}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}} $\ast$ Q\+Custom\+Plot\+::legend}

A pointer to the default legend of the main axis rect. The legend is invisible by default. Use \mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Legend\+::set\+Visible}} to change this.

\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers convenient pointers to the axes (\mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}, \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}) and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use \mbox{\hyperlink{}{the layout system}} to add multiple legends to the plot, use the layout system interface to access the new legend. For example, legends can be placed inside an axis rect\textquotesingle{}s \mbox{\hyperlink{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}{inset layout}}, and must then also be accessed via the inset layout. If the default legend is removed due to manipulation of the layout system (e.\+g. by removing the main axis rect), the corresponding pointer becomes 0. \mbox{\Hypertarget{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}\label{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!x\+Axis@{x\+Axis}}
\index{x\+Axis@{x\+Axis}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{x\+Axis}{xAxis}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+Custom\+Plot\+::x\+Axis}

A pointer to the primary x Axis (bottom) of the main axis rect of the plot.

\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers convenient pointers to the axes (\mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}, \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}) and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use \mbox{\hyperlink{}{the layout system}} to add multiple axis rects or multiple axes to one side, use the \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{Q\+C\+P\+Axis\+Rect\+::axis}} interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.\+g. by removing the main axis rect), the corresponding pointers become 0. \mbox{\Hypertarget{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}\label{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!x\+Axis2@{x\+Axis2}}
\index{x\+Axis2@{x\+Axis2}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{x\+Axis2}{xAxis2}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+Custom\+Plot\+::x\+Axis2}

A pointer to the secondary x Axis (top) of the main axis rect of the plot. Secondary axes are invisible by default. Use \mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Axis\+::set\+Visible}} to change this (or use \mbox{\hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{Q\+C\+P\+Axis\+Rect\+::setup\+Full\+Axes\+Box}}).

\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers convenient pointers to the axes (\mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}, \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}) and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use \mbox{\hyperlink{}{the layout system}} to add multiple axis rects or multiple axes to one side, use the \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{Q\+C\+P\+Axis\+Rect\+::axis}} interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.\+g. by removing the main axis rect), the corresponding pointers become 0. \mbox{\Hypertarget{class_q_custom_plot_af6fea5679725b152c14facd920b19367}\label{class_q_custom_plot_af6fea5679725b152c14facd920b19367}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!y\+Axis@{y\+Axis}}
\index{y\+Axis@{y\+Axis}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{y\+Axis}{yAxis}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+Custom\+Plot\+::y\+Axis}

A pointer to the primary y Axis (left) of the main axis rect of the plot.

\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers convenient pointers to the axes (\mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}, \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}) and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use \mbox{\hyperlink{}{the layout system}} to add multiple axis rects or multiple axes to one side, use the \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{Q\+C\+P\+Axis\+Rect\+::axis}} interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.\+g. by removing the main axis rect), the corresponding pointers become 0. \mbox{\Hypertarget{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}\label{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}} 
\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!y\+Axis2@{y\+Axis2}}
\index{y\+Axis2@{y\+Axis2}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
\subsubsection{\texorpdfstring{y\+Axis2}{yAxis2}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+Custom\+Plot\+::y\+Axis2}

A pointer to the secondary y Axis (right) of the main axis rect of the plot. Secondary axes are invisible by default. Use \mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Axis\+::set\+Visible}} to change this (or use \mbox{\hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{Q\+C\+P\+Axis\+Rect\+::setup\+Full\+Axes\+Box}}).

\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} offers convenient pointers to the axes (\mbox{\hyperlink{class_q_custom_plot_a9a79cd0158a4c7f30cbc702f0fd800e4}{x\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{y\+Axis}}, \mbox{\hyperlink{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{x\+Axis2}}, \mbox{\hyperlink{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{y\+Axis2}}) and the \mbox{\hyperlink{class_q_custom_plot_a4eadcd237dc6a09938b68b16877fa6af}{legend}}. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use \mbox{\hyperlink{}{the layout system}} to add multiple axis rects or multiple axes to one side, use the \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{Q\+C\+P\+Axis\+Rect\+::axis}} interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.\+g. by removing the main axis rect), the corresponding pointers become 0. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8h}{qcustomplot.\+h}}\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}}\end{DoxyCompactItemize}
